package com.example.demo.ctrl;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author maxf
 * @version 1.0
 * @ClassName IndexCtrl
 * @Description
 * @date 2018/11/1 16:11
 */
@Controller
public class IndexCtrl {

    @GetMapping("/i")
    public ModelAndView index() {
        return new ModelAndView("index");
    }
}
